﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BW.MesProject.WareHouse.Domain
{

    /// <summary>
    /// 工艺流程文件表
    /// </summary>
    [SugarTable("ProcessFileModel", TableDescription = "工艺流程文件表")]
    public class ProcessFileModel
    {
        /// <summary>
        /// 工艺流程文件编码
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "工艺流程文件编码")]
        public string PRFId { get; set; }

        /// <summary>
        /// 工艺流程编码
        /// </summary>
        [SugarColumn(ColumnDescription = "工艺流程编码")]
        public string PRId { get; set; }

        /// <summary>
        /// 工艺流程文件名称
        /// </summary>
        [SugarColumn(ColumnDescription = "工艺流程文件名称")]
        public string PRFName { get; set; }

        /// <summary>
        /// 工艺流程文件存储地址
        /// </summary>
        [SugarColumn(ColumnDescription = "工艺流程文件存储地址")]
        public string Address { get; set; }

        /// <summary>
        /// 下载次数
        /// </summary>
        [SugarColumn(ColumnDescription = "下载次数")]
        public int DownNum { get; set; } = 0;

        /// <summary>
        /// 上传时间
        /// </summary>
        [SugarColumn(ColumnDescription = "上传时间")]
        public DateTime CreateTime { get; set; }
    }
}
